#ifndef BB_TABLE_H_
#define BB_TABLE_H_

#include <QString>
#include <QList>
#include <QMap>

class BBTable
{
public:
	BBTable()
	{
		//DOES NOTHING
	}
	BBTable( QString name )
	{
		m_name = name;
	}

	~BBTable()
	{
		//DOES NOTHING
	}

	//Name
	QString getName()
	{
		return m_name;
	}
	void setName( QString name )
	{
		m_name = name;
	}

	QMap<QString, QString> getColumns()
	{
		return m_columns;
	}

	void setColumns( QMap<QString, QString> columns )
	{
		m_columns = columns;
	}

	QString getColumnType( QString columnName )
	{
		return m_columns[columnName];
	}

	void setColumnType( QString columnName, QString columnType )
	{
		m_columns[columnName] = columnType;
	}

private:
	QString m_name;
	QMap<QString, QString> m_columns;
};

#endif
